package cn.dgut.training.dto.transaction;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Checkout implements Serializable {

    @ApiModelProperty(value = "购物车表的ID")
    Long cartId;

    @ApiModelProperty(value = "地址表的ID")
    Long addressId;

    @ApiModelProperty(value = "优惠券表的ID")
    Long couponId=0L;

    @ApiModelProperty(value = "用户优惠券表的ID")
    Long userCouponId;

    @ApiModelProperty(value = "团购规则的ID")
    Long grouonRulesId;

    @ApiModelProperty(value = "团购活动的ID")
    Long grouponLinkId;
}